
function g() {
    return new Promise((resolve, reject) => {
        setTimeout(resolve, 10, 'hello ')
    })
}

let p = g()
    .then(value => {
        let date = new Date()
        while (new Date() - date <= 10) { }
        return value + "lagou "
    })
    .then(value => setTimeout(() => {
        console.log(value + "I ❤  U")
    }, 10))
